home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15677 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  991 b 

  1. Path: news.cern.ch!danpop
  2. From: danpop@mail.cern.ch (Dan Pop)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: getc()
  5. Date: 21 Apr 96 02:36:25 GMT
  6. Organization: CERN European Lab for Particle Physics
  7. Message-ID: <danpop.830054185@news.cern.ch>
  8. References: <Pine.LNX.3.91.960416043025.26839B-100000-100000-100000-100000-100000-100000-100000@larry.inf.net> <Pine.LNX.3.91.960420141309.24306A-100000@larry.inf.net>
  9. NNTP-Posting-Host: ues5.cern.ch
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=US-ASCII
  12. Content-Transfer-Encoding: 7bit
  13. X-Newsreader: NN version 6.5.0 #18 (NOV)
  14.  
  15. In <Pine.LNX.3.91.960420141309.24306A-100000@larry.inf.net> Lawrence O'Leary <larry@larry.inf.net> writes:
  16.  
  17. >Is there a way to see if there is a character waiting before calling the 
  18. >getc() function?  I would need this to conform to the ANSI C standard of 
  19. >course.
  20.  
  21. Then, the answer is: no way.
  22.  
  23. Dan
  24. --
  25. Dan Pop
  26. CERN, CN Division
  27. Email: danpop@mail.cern.ch 
  28. Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
  29.